/*******************************************************************************
 * Package: com.hngtrust.iir.report.service
 * Type:    reportRightService
 * Date:    2021/9/14 13:58
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.material.service;

import com.hngtrust.iir.material.controller.dto.MaterialRightQueryVO;
import com.hngtrust.iir.material.controller.dto.MaterialRightUpadteVO;
import com.hngtrust.iir.material.controller.dto.MaterialRightUserOrDepartVO;
import com.hngtrust.iir.material.controller.dto.MaterialRightVO;
import com.hngtrust.iir.material.dto.MaterialRightDTO;
import com.hngtrust.iir.material.dto.MaterialRightUserOrDepartDTO;


import java.util.List;

/**
 * 内部资料-资料权限表
 *
 * @author Chaidd
 * @date 2021/11/09 3:58 下午
 */
public interface MaterialRightBacService {
    
    /**
     * 内部资料-新增收藏列表
     */
    void addRight(MaterialRightVO materialRightVO);
    
    /**
     * 内部资料-资料权限表列表
     * @param materialRightQueryVO
     * @return
     */
    List<MaterialRightDTO> listRight(MaterialRightQueryVO materialRightQueryVO);
    
    /**
     * 内部资料-修改资料权限表
     * @param materialRightUpadteVO
     */
    void updateRight(MaterialRightUpadteVO materialRightUpadteVO);
    
    /**
     * 内部资料-权限部门或人员搜索
     * @param materialRightUserOrDepartVO
     */
    List<MaterialRightUserOrDepartDTO> queryUserOrDepartment(MaterialRightUserOrDepartVO materialRightUserOrDepartVO);
}
